Piwik\Plugins\API\ProcessedReport D

Total Complexity 168
Dependencies 19
Dependents 2
Total lines 858
Lines of code 519
Logical lines of code 318
Comment lines 187
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
handleSimpleDataTable()
B
36 22 79
getReportMetadata()
B
36 20 77
getProcessedReport()
B
36 18 74
getMetadata()
A
46 16 36
handleTableReport()
A
41 14 55
calculateTotals()
A
49 14 27
buildReportMetadataCacheKey()
A
52 13 22
hideShowMetricsWithParams()
A
51 11 29
getPrettyValue()
A
51 11 24
translateMetric()
S
60 6 12
removeEmptyColumns()
S
59 4 15
getReportMetadataByUniqueId()
S
67 3 8
getComparisonColumns()
S
67 2 7
getImplodedArray()
S
67 2 8
getColumnsToKeep()
S
65 2 9
hideShowMetrics()
S
67 2 8
getColumnsToRemove()
S
68 2 7
aggregateReportTotalValues()
S
67 2 8
sortReports()
S
77 1 3
isValidMetricForReport()
S
74 1 4
isValidReportForSite()
S
75 1 4
__construct()
S
81 1 3